package com.flyco.modules.pms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 产品库存表
 * @Author: flyco
 * @Date:   2023-08-17
 * @Version: V1.0
 */
@Data
@TableName("stm_jd_sku_stock")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="stm_jd_sku_stock对象", description="产品库存表")
public class StmJdSkuStock {
    
	/**仓库编码*/
	@Excel(name = "仓库编码", width = 15)
    @ApiModelProperty(value = "仓库编码")
	private String fstockid;
	/**货主名称*/
	@Excel(name = "货主名称", width = 15)
    @ApiModelProperty(value = "货主名称")
	private String fownername;
	/**保管者编码*/
	@Excel(name = "保管者编码", width = 15)
    @ApiModelProperty(value = "保管者编码")
	private String fkeeperid;
	/**货主编码*/
	@Excel(name = "货主编码", width = 15)
    @ApiModelProperty(value = "货主编码")
	private String fownerid;
	/**保管者类型*/
	@Excel(name = "保管者类型", width = 15)
    @ApiModelProperty(value = "保管者类型")
	private String fkeepertypeid;
	/**保管者名称*/
	@Excel(name = "保管者名称", width = 15)
    @ApiModelProperty(value = "保管者名称")
	private String fkeepername;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
	private String fmodel;
	/**物料名称*/
	@Excel(name = "物料名称", width = 15)
    @ApiModelProperty(value = "物料名称")
	private String fmaterialname;
	/**erp物料编码*/
	@Excel(name = "erp物料编码", width = 15)
    @ApiModelProperty(value = "erp物料编码")
	private String fmaterialid;
	/**零售条形码*/
	@Excel(name = "零售条形码", width = 15)
    @ApiModelProperty(value = "零售条形码")
	private String fcmkbarcode;
	/**仓库名称*/
	@Excel(name = "仓库名称", width = 15)
    @ApiModelProperty(value = "仓库名称")
	private String fstockname;
	/**货主类型*/
	@Excel(name = "货主类型", width = 15)
    @ApiModelProperty(value = "货主类型")
	private String fownertypeid;
	/**仓位*/
	@Excel(name = "仓位", width = 15)
    @ApiModelProperty(value = "仓位")
	private String fstocklocid;
	/**库存组织*/
	@Excel(name = "库存组织", width = 15)
    @ApiModelProperty(value = "库存组织")
	private String fstockorgid;
	/**基本单位*/
	@Excel(name = "基本单位", width = 15)
    @ApiModelProperty(value = "基本单位")
	private String fbaseunitid;
	/**库存辅单位*/
	@Excel(name = "库存辅单位", width = 15)
    @ApiModelProperty(value = "库存辅单位")
	private String fsecunitid;
	/**库存主单位*/
	@Excel(name = "库存主单位", width = 15)
    @ApiModelProperty(value = "库存主单位")
	private String fstockunitid;
	/**库存单位换算分子*/
	@Excel(name = "库存单位换算分子", width = 15)
    @ApiModelProperty(value = "库存单位换算分子")
	private String fstoreurnum;
	/**库存单位换算分母*/
	@Excel(name = "库存单位换算分母", width = 15)
    @ApiModelProperty(value = "库存单位换算分母")
	private String fstoreurnom;
	/**批号*/
	@Excel(name = "批号", width = 15)
    @ApiModelProperty(value = "批号")
	private String flot;
	/**批号生产日期*/
	@Excel(name = "批号生产日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "批号生产日期")
	private Date flotproducedate;
	/**保质期*/
	@Excel(name = "保质期", width = 15)
    @ApiModelProperty(value = "保质期")
	private String fkfperiod;
	/**项目编号*/
	@Excel(name = "项目编号", width = 15)
    @ApiModelProperty(value = "项目编号")
	private String fprojectno;
	/**预留量(主单位)*/
	@Excel(name = "预留量(主单位)", width = 15)
    @ApiModelProperty(value = "预留量(主单位)")
	private String flockqty;
	/**预留量(辅单位)*/
	@Excel(name = "预留量(辅单位)", width = 15)
    @ApiModelProperty(value = "预留量(辅单位)")
	private String fseclockqty;
	/**库存量(基本单位)*/
	@Excel(name = "库存量(基本单位)", width = 15)
    @ApiModelProperty(value = "库存量(基本单位)")
	private String fbaseqty;
	/**库存量(主单位)*/
	@Excel(name = "库存量(主单位)", width = 15)
    @ApiModelProperty(value = "库存量(主单位)")
	private String fqty;
	/**计划跟踪号*/
	@Excel(name = "计划跟踪号", width = 15)
    @ApiModelProperty(value = "计划跟踪号")
	private String fmtono;
	/**预留量(基本单位)*/
	@Excel(name = "预留量(基本单位)", width = 15)
    @ApiModelProperty(value = "预留量(基本单位)")
	private String fbaselockqty;
	/**生产日期*/
	@Excel(name = "生产日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "生产日期")
	private Date fproducedate;
	/**辅助属性*/
	@Excel(name = "辅助属性", width = 15)
    @ApiModelProperty(value = "辅助属性")
	private String fauxpropid;
	/**库存状态*/
	@Excel(name = "库存状态", width = 15)
    @ApiModelProperty(value = "库存状态")
	private String fstockstatusid;
	/**库存量(库存辅单位)*/
	@Excel(name = "库存量(库存辅单位)", width = 15)
    @ApiModelProperty(value = "库存量(库存辅单位)")
	private String fsecqty;
	/**批号有效期至*/
	@Excel(name = "批号有效期至", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "批号有效期至")
	private Date flotexpirydate;
	/**有效期至*/
	@Excel(name = "有效期至", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "有效期至")
	private Date fexpirydate;
	/**BOM版本*/
	@Excel(name = "BOM版本", width = 15)
    @ApiModelProperty(value = "BOM版本")
	private String fbomid;
	/**保质期单位*/
	@Excel(name = "保质期单位", width = 15)
    @ApiModelProperty(value = "保质期单位")
	private String fkfperiodunit;
	/**库存单位舍入类型*/
	@Excel(name = "库存单位舍入类型", width = 15)
    @ApiModelProperty(value = "库存单位舍入类型")
	private String funitroundtype;
	/**物料分组*/
	@Excel(name = "物料分组", width = 15)
    @ApiModelProperty(value = "物料分组")
	private String fbaseproperty;
	/**可用量(主单位)*/
	@Excel(name = "可用量(主单位)", width = 15)
    @ApiModelProperty(value = "可用量(主单位)")
	private String favbqty;
	/**可用量(基本单位)*/
	@Excel(name = "可用量(基本单位)", width = 15)
    @ApiModelProperty(value = "可用量(基本单位)")
	private String fbaseavbqty;
	/**可用量(库存辅单位)*/
	@Excel(name = "可用量(库存辅单位)", width = 15)
    @ApiModelProperty(value = "可用量(库存辅单位)")
	private String fsecavbqty;
	/**到期天数*/
	@Excel(name = "到期天数", width = 15)
    @ApiModelProperty(value = "到期天数")
	private String fexpirydays;
	/**最后更新日期*/
	@Excel(name = "最后更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "最后更新日期")
	private Date fupdatetime;
	/**物料分组*/
	@Excel(name = "物料分组", width = 15)
    @ApiModelProperty(value = "物料分组")
	private String fmaterialgroup;
	/**仓库分组*/
	@Excel(name = "仓库分组", width = 15)
    @ApiModelProperty(value = "仓库分组")
	private String fstockgroup;
	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
	private Integer id;
	/**物料编码*/
	@Excel(name = "物料编码", width = 15)
    @ApiModelProperty(value = "物料编码")
	private String fmaterialnumber;
	/**erp即使库存内码*/
	@Excel(name = "erp即使库存内码", width = 15)
    @ApiModelProperty(value = "erp即使库存内码")
	private String fid;
	/**fcreatedate*/
    @ApiModelProperty(value = "fcreatedate")
	private Date fcreatedate;
}
